package cn.hwadee.muying.entity;

import cn.hwadee.muying.commons.base.BaseModel;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

/**
 * <p>
 * 客户邮件表
 * </p>
 *
 * @author Jing
 * @since 2018-01-26
 */
@TableName("erp_mail_message")
public class MailMessage extends BaseModel {

    private static final long serialVersionUID = 1L;

	/**
	 * 商家ID
	 */
	@TableField("biz_id")
	private Long bizId;
    /**
     * 邮件ID
     */
	private String uid;
    /**
     * 客户邮箱
     */
	@TableField("buyer_email")
	private String buyerEmail;
	/**
	 * 卖家邮箱
	 */
	@TableField("mail_id")
	private Long mailId;
	/**
	 * 邮箱名称
	 */
	@TableField("mail_name")
	private String mailName;
    /**
     * 邮件主题
     */
	private String subject;
    /**
     * 邮件内容
     */
	private String msg;
	/**
	 * 无需回复url
	 */
	@TableField("no_reply_url")
	private String noReplyUrl;
	/**
	 * 回复状态
	 */
	@TableField(value = "reply_status")
	private String replyStatus;
    /**
     * 订单号
     */
	@TableField("order_no")
	private String orderNo;
    /**
     * 站点名称
     */
	@TableField("seller_name")
	private String sellerName;
    /**
	 * 站点
	 */
	@TableField("seller_id")
	private Long sellerId;
	/**
	 * 发送时间
	 */
	private Date sentTime;

	/**
	 * 剩余回复时间
	 */
	@TableField(exist = false)
	private String leftTime;

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getBuyerEmail() {
		return buyerEmail;
	}

	public void setBuyerEmail(String buyerEmail) {
		this.buyerEmail = buyerEmail;
	}

	public Long getMailId() {
		return mailId;
	}

	public String getMailName() {
		return mailName;
	}

	public void setMailName(String mailName) {
		this.mailName = mailName;
	}

	public void setMailId(Long mailId) {
		this.mailId = mailId;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getNoReplyUrl() {
		return noReplyUrl;
	}

	public void setNoReplyUrl(String noReplyUrl) {
		this.noReplyUrl = noReplyUrl;
	}

	public String getReplyStatus() {
		return replyStatus;
	}

	public void setReplyStatus(String replyStatus) {
		this.replyStatus = replyStatus;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public Date getSentTime() {
		return sentTime;
	}

	public void setSentTime(Date sentTime) {
		this.sentTime = sentTime;
	}
	public String getLeftTime() {
		return leftTime;
	}

	public void setLeftTime(String leftTime) {
		this.leftTime = leftTime;
	}

	public static final String UID = "uid";

	public static final String BUYER_EMAIL = "buyer_email";

	public static final String SUBJECT = "subject";

	public static final String MSG = "msg";

	public static final String STATUS = "status";

	public static final String ORDER_NO = "order_no";

	public static final String SELLER_NAME = "seller_name";

	public static final String SELLER_ID = "seller_id";

	public static final String BIZ_ID = "biz_id";

}
